package com.wwe.kotlinstudy.util.abstrac

class Pig : Person {
    override var age: Int
    override var name: String

    constructor(age: Int, name: String) : super() {
        this.age = age
        this.name = name
    }

    override fun printClassName() {
        println("重写的方法")
    }



}